using System.Collections.Generic;

namespace Blog.Infrastructure.DataAcces.Repositories.Abstractisations
{
    public interface IRepository<T>
    {
        IList<T> GetAll();
        IList<T> GetAll(List<long> ids);
        T Get(long id);
        T Get(string title);
        void Save(T item);
        void Delete(long id);      
        int Count();
    }
}